package com.jiang.test;

public class Leijia {

	public static void main(String[] args) {

		// 累加1-100
		new Thread(()->{
			int sum = 0;
			for(int i=1;i<=100;i++) {
				sum+=i;
			}
			System.out.println("累加结果:"+sum);
			
		},"累加线程").start();
		
		
	}

}
